<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
<link rel="stylesheet" href="__PUBLIC__/css/admin.css">
<script src="__PUBLIC__/js/jquery.js"></script>
<script src="__PUBLIC__/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel margin-top" id="add">
  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 店铺详情</strong></div>
  <div class="padding border-bottom" style="float: right;"> 
  	<form method="post" class="form-x" action="__URL__/level">
  		<input type="hidden" class="input w50" value="{$res[0].shop_id}" name="id"/>
  		<input class="button border-yellow" type="submit"  value="查看上下级" />
  	</form>
  </div>
   <div class="body-content">
    <form method="post" class="form-x" action="">
       <div class="form-group">
        <div class="label">
          <label>店铺名字：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$res[0].name}" name="title" data-validate="required:请输入标题" />
          <div class="tips"></div>
        </div>
      </div>    
      <div class="form-group">
        <div class="label">
          <label>联系人：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$res[0].contacts}" name="title" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>联系电话：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$res[0].phone}" name="title"/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>地区：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="url" value="{$res[0].area}"  />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>类别：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="sort" value="{$res[0].type}" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>地址：</label>
        </div>
        <div class="field">
          <textarea type="text" class="input" name="note" style="height:120px;" value="{$res[0].address}"></textarea>
          <div class="tips"></div>
        </div>
      </div>   
      <div class="form-group">
        <div class="label">
          <label>店铺账户积分：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$res[0].shop_points}" name="title"  />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>店铺返还获得积分：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$res[0].return_pointd}" name="title"  />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>简介：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="sort" value="{$res[0].synopsis}" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>银行卡号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$res[0].card}" name="title"  />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>开户行：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="sort" value="{$res[0].banktype}" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>图片1：</label>
        </div>
        <div class="field">
        	<img src="__PUBLIC__/Uploads/{$res[0].photo1}"  style="width:15%; float:left;">
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>图片2：</label>
        </div>
        <div class="field">
        	<img src="__PUBLIC__/Uploads/{$res[0].photo2}"  style="width:15%; float:left;">
        </div>
      </div>

    </form>
  </div>
</div>
</body>
</html>